package cate.game.train.inscription.msg;

import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.inscription.Inscription;
import cate.game.role.bag.inscription.InscriptionPage;
import easy.java.dev.note.NoteField;

public class InscriptionOnResp implements MsgOutput {

    @NoteField("铭文")
    public Inscription inscription;
    @NoteField("铭文页id")
    public InscriptionPage page;
    @NoteField("铭文页格子")
    public byte pos;

    public InscriptionOnResp() {
    }

    public InscriptionOnResp(Inscription inscription, InscriptionPage page, byte pos) {
        this.inscription = inscription;
        this.page = page;
        this.pos = pos;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.INSCRIPTION_ON_RESP;
    }
}
